/*
 * @Author: Leo.wang wanglizhigs@163.com
 * @Date: 2023-12-26 21:33:02
 * @LastEditors: Leo.wang wanglizhigs@163.com
 * @LastEditTime: 2023-12-26 23:30:42
 * @FilePath: /ruoyi-ui/src/api/patient/identity.api.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
/*
 * @Author: Leo.wang wanglizhigs@163.com
 * @Date: 2023-11-30 13:28:37
 * @LastEditors: Leo.wang wanglizhigs@163.com
 * @LastEditTime: 2023-12-26 22:41:53
 * @FilePath: /ruoyi-ui/src/api/patient/identity.api.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import axios from 'axios';
// 创建axios实例
const request = axios.create({
  // 超时
  timeout: 10000,
  headers: {
    'Content-Type': 'application/json;charset=utf-8'
  }
})
export function getIdentityList() {
  return request({
    url: 'http://localhost:3000/api/getIdentityList',
    method: 'get'
  }).then(({data}) => data.result)
}
